assignment operator

[əˈsainmənt ˈɔpəreitə]
  • 释义

    赋值操作符;

数据更新时间:2024-12-23 00:04:04
1、

Special member functions the copy constructor, the assignment operator, and the destructor define these operations.

特殊成员函数(复制构造函数 、 赋值操作符和析构函数)可用于定义这些操作.

互联网摘选

2、

This class looks like our other handles as does the assignment operator.

这个类看来与其他句柄类似,赋值操作符也类似.

互联网摘选

3、

To avoid this warning, specify a user-defined assignment operator for the class.

若要避免出现此警告, 请为该类指定用户定义的赋值运算符.

互联网摘选

4、

Break long assignments before the assignment operator.

在赋值操作符前将长表达式截断.

互联网摘选

5、

The assignment operator assigns, member by member, from the old object to the new.

赋值操作符将成员依次从旧对象赋值给新对象.

互联网摘选

6、

An assignment operator stores the value of the right expression into the left expression.

赋值操作符把右边表达式的值赋值给左边的表达式.

互联网摘选

7、

Like constructors, the assignment operator may be overloaded by specifying different types for the right-hand operand .

与构造函数一样, 赋值操作符可以通过指定不同类型的右 操作数 而重载.

互联网摘选

8、

Making the class assignment operator virtual is likely to be confusing and unlikely to be useful.

将类的赋值操作符设为虚函数很可能会令人混淆,而且不会有什么用处.

互联网摘选

9、

The assignment operator cannot be overloaded.

不能重载赋值运算符.

互联网摘选

10、

The addition assignment operator.

加法赋值运算符.

互联网摘选

11、

Assignment operator. Tests whether the left-hand operand is not equal to the right-hand.

不等于操作符. 测试左右两边的操作数是否不等.

互联网摘选

12、

The compiler cannot generate an assignment operator for the given class.

编译器无法为给定的类生成赋值运算符.

互联网摘选

13、

Explicitly define an assignment operator for the class.

为类显式定义赋值运算符.

互联网摘选

14、

When a binary operator is overloaded, the corresponding assignment operator, if any, is also implicitly overloaded.

重载二元运算符时, 也会隐式重载相应的赋值运算符(如果有).

互联网摘选

15、

The synthesized assignment operator member wise assigns the right-hand operand to the left.

合成赋值操作符将右 操作数 逐个成员地赋值给左操作数.

互联网摘选

  • 相关词组
  • 今日热词
  • 热门搜索

简答网英语词典(dict.jiandongshicai.cn)为您提供在线翻译英语词典单词大全英译汉汉译英等英语服务!可按单词字数词义分类查询。支持lj:关键词格式查询例句。

用户反馈
请选择反馈类型(可多选):
您的联系方式:(如需回复请填写联系方式)
反馈内容:
提交成功 小编会尽快处理
回到顶部
点击反馈